/*!
 * \class Task
 *
 * \brief 线程入口，所有任务需继承该类
 *
 * \author Bryceyam
 * \date ʮһ�� 2025
 */

#pragma once
#include <functional>
#include "ThreadPool/globle.h"

class THREADPOOL_API Task
{
public:
	virtual void run() = 0;

	std::function<bool()> mIsExit = nullptr;
};

